<div class="event-registered">
	<div class="heading">List of registered students for this event (<span class="count"><?php echo count($registereds) ?></span>):</div>
	<ul style="margin-left: 50px;">
<?php foreach( $registereds as $registered ) : ?>
		<li><?php echo ucwords( strtolower($registered['lastname']) ) ?>, <?php echo ucwords( strtolower($registered['firstname'])) ?></li>
<?php endforeach; ?>
<?php if( count( $registereds ) === 0 ) : ?>
		<li>No one has registered for this event yet.</li>
<?php endif; ?>
	</ul>
</div>